package com.cooge.sharevideo.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target({METHOD, FIELD})
@Retention(RUNTIME)
public @interface Cooge {

	public enum Type {
		AND, OR
	};

	public enum Compare {
		LIKE, EQ, NEQ, GR, LG, LEQ, GEQ
	};

	public String name() default "cooge";

	public Type type() default Type.AND;

	public Compare compare() default Compare.EQ;

}
